package cn.sppxpp.model;

import cn.sppxpp.annotations.Component;
import cn.sppxpp.annotations.MyAutoWired;
import cn.sppxpp.util.ClassLoaderUtil;

/**
 * @author spp
 * @date 2020-10-27 19:55
 **/
@Component
public class UserInfo {

    private String id;

    public UserInfo(){
        System.out.println("UserInfo===>初始化");
    }

    private ClassLoaderUtil classLoaderUtil;

    @Override
    public String toString() {
        return "UserInfo{" +
                "id='" + id + '\'' +
                ", classLoaderUtil=" + classLoaderUtil +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public ClassLoaderUtil getClassLoaderUtil() {
        return classLoaderUtil;
    }

    public void setClassLoaderUtil(ClassLoaderUtil classLoaderUtil) {
        this.classLoaderUtil = classLoaderUtil;
    }
}
